<?php

class indexController extends Controller{
    
    public function index(){
        Redirect("ocorrencia/info");
    }
    
    public function populate(){
        $this->LoadModel('ocorrencia/Config/populator', 'pop');
        //$this->pop->populate();
        //$this->display('');
    }
    
    public function teste(){
        $dateTime = "2012-09-19 22:14:59";
        echo timeResource::Date2StrBr($dateTime);
        //$this->LoadModel('ocorrencia/anexo', 'env');
        //$this->env->anexar('ocorrencia/ocorrencias/1000/', '1000');
    }
    
}

?>
